package com.liuyu.mall2.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liuyu.mall2.entity.Goods;
import com.liuyu.mall2.pojo.PageBean;

import java.util.List;

public interface GoodsService{
    void add(Goods goods);
    List<Goods> findAll();
    PageBean<Goods> findByPage(int pageNo);
}
